package com.naiterui.ehp.bs.cms.modules.pharmacy.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.naiterui.ehp.bs.cms.common.entity.BaseEntity;
import com.naiterui.ehp.bs.cms.common.json.Dict;

import lombok.Data;
import lombok.EqualsAndHashCode;

import io.swagger.annotations.ApiModelProperty;

/**
 * <pre>
 *      合作药店
 * </pre>
 *
 * @author 王泽浩
 * @date 2019-07-02 10:32
 * @since 1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("p_warehouse_goods")
public class WarehouseGoods extends BaseEntity {
    private static final long serialVersionUID = -3834507674482656978L;

    /**
     * 仓库ID
     */
    @ApiModelProperty(value = "仓库ID")
    private Long warehouseId;

    @ApiModelProperty(value = "商品 ID")
    private Long productId;

    @ApiModelProperty(value = "SKU ID")
    private Long skuId;

    /**
     * 商品名称
     */
    @ApiModelProperty(value = "商品名称")
    private String name;

    /**
     * 商品编码
     */
    @ApiModelProperty(value = "商品编码")
    private String number;

    /**
     * 药理分类ID
     */
    @ApiModelProperty(value = "药理分类ID")
    private Long pharmacologyClassificationId;

    /**
     * 状态:是否停用 0:启用。1:停用
     */
    @Dict(type = "system_status")
    @ApiModelProperty(value = "状态:是否停用 0:启用。1:停用,描述使用statusDescribe")
    private Integer status;
}
